]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tools/toolbox: Work around systemd issue
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 29 Nov 2024 00:21:02 +0000 (01:21 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 5 Dec 2024 12:57:30 +0000 (12:57 +0000)
systemd-sysext currently messes up SElinux labeling[0].

As a workaround, we can delegate to the systemd-sysext service
that doesn't exercise the same issue.

[0] https://github.com/systemd/systemd/issues/34387

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3498>

tools/toolbox/toolbox-sysext-install.sh

index 0ff3b659a3ba5e960c72caf7510b3a55b8b306c5..6310fb00e8a7e43f899575ef0a385a7e3369de81 100755 (executable)
@@ -64,7 +64,9 @@ install_command() {
 }
 
 sysext_merge_command() {
-  echo -n systemd-sysext refresh
+  #echo -n systemd-sysext refresh
+  # workaround for https://github.com/systemd/systemd/issues/34387
+  echo -n systemctl restart systemd-sysext.service
 }
 
 compile_schemas_command() {